import request from '@/utils/request'

const baseUrl = '/spoken/statistics'


// 查询用户
export function queryUser(data) {
  return request({
    url: baseUrl + '/queryUser',
    method: 'post',
    data
  })
}


// 查询教师
export function queryTeacher(data) {
  return request({
    url: baseUrl + '/queryTeacher',
    method: 'post',
    data
  })
}

// 查询订单
export function queryOrder(data) {
  return request({
    url: baseUrl + '/queryOrder',
    method: 'post',
    data
  })
}

// 查询消课
export function queryCancelLesson(data) {
  return request({
    url: baseUrl + '/queryCancelLesson',
    method: 'post',
    data
  })
}